package ooday02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student zs = new Student("张三",22,"潍坊","jsd2408","001");
        zs.sayHi();
        Teacher ls = new Teacher("李四",35,"青岛",6000);
        ls.sayHi();
        Doctor ww = new Doctor("王五",55,"北京","主任医师");
        ww.sayHi();
    }
}
